package day3.demo9_lock;



public class Test {
    public static void main1(String[] args) {
        Sell sell = new Sell();
        new Thread(sell,"窗口A").start();
        new Thread(sell,"窗口B").start();
        new Thread(sell,"窗口C").start();
        new Thread(sell,"窗口D").start();

    }

    public static void main(String[] args) {
        new Thread(new Sell(),"窗口A").start();
        new Thread(new Sell(),"窗口B").start();
        new Thread(new Sell(),"窗口C").start();
        new Thread(new Sell(),"窗口D").start();
    }
}
